
package com.joolun.cloud.mall.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.joolun.cloud.mall.common.entity.GoodsAppraises;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品评价
 *
 * @author www.joolun.com
 * @date 2019-09-23 15:51:01
 */
public interface GoodsAppraisesMapper extends BaseMapper<GoodsAppraises> {

	IPage<GoodsAppraises> selectPage1(IPage<GoodsAppraises> page, @Param("query") GoodsAppraises goodsAppraises);

	/**
	 * 通过parentId查询
	 * @param parentId
	 * @return
	 */
	List<GoodsAppraises> listByParentId(@Param("parentId") String parentId);
}
